package com.firefoxking.mysite.dao;

import com.firefoxking.mysite.entity.Logs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LogsMapper {

    int addLogs(Logs logs);

    int deleteLogsById(@Param("id") Integer id);

    List<Logs> getLogs();
}
